package com.material.factory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.material.common.annotation.Excel;
import com.material.common.core.domain.BaseEntity;

/**
 * 燃料品名指标化验属性对象 factory_fuel_attribute
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public class FactoryFuelAttribute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 工厂id */
    @Excel(name = "工厂id")
    private Long factoryId;

    /** 燃料id */
    @Excel(name = "燃料id")
    private Long fuelId;

    /** 属性名称 */
    @Excel(name = "属性名称")
    private String attrName;

    /** 属性值 */
    @Excel(name = "属性值")
    private String attrValue;

    /**
     * 质量要求区间开始值
     */
    private String qualityStart;
    /**
     * 质量要求区间结束值
     */
    private String qualityEnd;
    /**
     * 质量要求数值（category为2，3时）
     */
    private String qualityValue;
    /**
     * 质量要求类别：1.区间值，2.大等于于，3.小等于于
     */
    private Integer category;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryId(Long factoryId) 
    {
        this.factoryId = factoryId;
    }

    public Long getFactoryId() 
    {
        return factoryId;
    }
    public void setFuelId(Long fuelId) 
    {
        this.fuelId = fuelId;
    }

    public Long getFuelId() 
    {
        return fuelId;
    }
    public void setAttrName(String attrName) 
    {
        this.attrName = attrName;
    }

    public String getAttrName() 
    {
        return attrName;
    }
    public void setAttrValue(String attrValue) 
    {
        this.attrValue = attrValue;
    }

    public String getAttrValue() 
    {
        return attrValue;
    }

    public String getQualityStart() {
        return qualityStart;
    }

    public void setQualityStart(String qualityStart) {
        this.qualityStart = qualityStart;
    }

    public String getQualityEnd() {
        return qualityEnd;
    }

    public void setQualityEnd(String qualityEnd) {
        this.qualityEnd = qualityEnd;
    }

    public String getQualityValue() {
        return qualityValue;
    }

    public void setQualityValue(String qualityValue) {
        this.qualityValue = qualityValue;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryId", getFactoryId())
            .append("fuelId", getFuelId())
            .append("attrName", getAttrName())
            .append("attrValue", getAttrValue())
            .toString();
    }
}
